package com.tao.YanMoDesignPattern.factory.astractFactory;

/**
 * @Author Mi_Tao
 * @Date 2023/8/4
 * @Description 具体工厂
 * @Version 1.0
 **/
public class ConcreteFactory2 implements AbstractFactory{
    @Override
    public AbstarctProductA createProductA() {
        return new ProductA2();
    }

    @Override
    public AbstarctProductB createProductB() {
        return new ProductB2();
    }
}
